package com.xt.purchasingsystem.feign;

import com.xt.purchasingsystem.dto.SGatherDto;
import com.xt.purchasingsystem.model.DFile;
import com.xt.purchasingsystem.utils.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * Erp模块API接口
 * @author: 老姚
 * Date:  2020/6/2 11:58
 */
public interface ErpManagementFeign {
    /**
     * 添加产品信息的接口
     * @param form
     * @return
     */
    @PostMapping("/productFileRegistrtion/insertAllProductFile")
    public Result productFileRegistrtion(@RequestBody DFile form);

    /**
     * 添加入库单及其明细的接口
     * @param sGatherDto
     * @return
     */
    @PostMapping("/warehousingManagement/submitWarehouse")
    public Result submitWarehouse(@RequestBody SGatherDto sGatherDto);
}
